import datetime

# now = datetime.datetime.now()
# print(now, type(now))
# today = datetime.datetime.today()
# print(today, type(today))

# now = datetime.datetime.now()
# print(now.year)
# print(now.month)
# print(now.day)
# print(now.hour)
# print(now.minute)
# print(now.second)

# now = datetime.datetime.now()
# s = now.strftime("%Y-%m-%d")
# print(s, type(s))
# print(now)
timer = "2020 12 20 10:0:0"
parsed_datetime = datetime.datetime.strptime(timer, "%Y %m %d %H:%M:%S")
print("parsed_datetime:",parsed_datetime)